package com.ruoyi.project.system.goodsclass.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 商品类型对象 goods_class
 * 
 * @author f_baisi
 * @date 2020-06-06
 */
public class GoodsClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String name;

    /** 状态: 0:启用 1:不启用 */
    @Excel(name = "状态: 0:启用 1:不启用")
    private Integer status;

    /** 是否首页展示:0:展示,1:不展示 */
    @Excel(name = "是否首页展示:0:展示,1:不展示")
    private Integer isHome;

    /** 图标访问路径 */
    @Excel(name = "图标访问路径")
    private String icon;

    /** 图标真实路径 */
    private String iconRealPath;

    /** logo访问路径 */
    @Excel(name = "logo访问路径")
    private String logo;

    /** logo真实路径 */
    private String logoRealPath;

    /** 分类头部图片访问路径 */
    @Excel(name = "分类头部图片访问路径")
    private String header;

    /** 分类头部图片真实路径 */
    private String headerRealPath;

    /** 父类ID */
    private String parentId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsHome(Integer isHome) 
    {
        this.isHome = isHome;
    }

    public Integer getIsHome() 
    {
        return isHome;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setIconRealPath(String iconRealPath) 
    {
        this.iconRealPath = iconRealPath;
    }

    public String getIconRealPath() 
    {
        return iconRealPath;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setLogoRealPath(String logoRealPath) 
    {
        this.logoRealPath = logoRealPath;
    }

    public String getLogoRealPath() 
    {
        return logoRealPath;
    }
    public void setHeader(String header) 
    {
        this.header = header;
    }

    public String getHeader() 
    {
        return header;
    }
    public void setHeaderRealPath(String headerRealPath) 
    {
        this.headerRealPath = headerRealPath;
    }

    public String getHeaderRealPath() 
    {
        return headerRealPath;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("status", getStatus())
            .append("isHome", getIsHome())
            .append("icon", getIcon())
            .append("iconRealPath", getIconRealPath())
            .append("logo", getLogo())
            .append("logoRealPath", getLogoRealPath())
            .append("header", getHeader())
            .append("headerRealPath", getHeaderRealPath())
            .append("parentId", getParentId())
            .append("sort", getSort())
            .toString();
    }
}
